home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 25 / AMIGAplus Sonderheft 25 (2000)(Falke)(DE)(Track 1 of 4)[!].iso / PublicDomain / Anwendungen / DetotterButton / DetotterMouseButton.readme < prev   
Text File  |  2000-03-23  |  5KB  |  90 lines

  1. Short:        Absorb short blackouts of a mouse button, Cluster source included
  2. Kurz:         Software-Entprellung einer Maustaste, Cluster source included
  3. Author:       henning.thielemann@student.uni-halle.de
  4. Uploader:     henning.thielemann@student.uni-halle.de
  5. Type:         util/cdity
  6. Distribution: FreeWare
  7. Date:         23.03.2000
  8.  
  9. --- english -------------------------------------------------------------------
  10.  
  11.  Do you know this: You press the left mouse button once, and a double click is
  12. raised. Programs are started, directory windows opens, you miss the right screen
  13. since you skip it by an unwanted double click. You want to drag an icon away and
  14. the icon drops down somewhere you didn't want? No question, your mouse is old
  15. and tottery and the buttons aren't reliable anymore. A new mouse? Buying a new
  16. mouse every second year? Not that expensive but now you can rescue your old
  17. mouse!
  18.  
  19.  How? Use DetotterMouseButton which will delay the mouse button release event
  20. until it is save to assume that the mouse button is really physically released.
  21.  
  22.  Options:
  23.   BUTTON   : the button to be affected; normally the left button will be the
  24.              first who give up, so it is enough to patch this only
  25.              0 - left mouse button
  26.              1 - right mouse button
  27.              2 - middle mouse button
  28.              default is left button
  29.   DELAY    : delay time measured in milli seconds
  30.              default is 20 ms, that is a vertical blank period on PAL screen mode
  31.   PRIORITY : priority of the input handler (between -128 and 127)
  32.              the higher the value the more other mouse patches will work with
  33.              the de-tottered mouse signal
  34.              default is 100 which is quite high
  35.  
  36.  To use the patch regularly, insert into the startup-sequence or user-startup:
  37.   ChangeTaskPri 50   ; the main program handles all the timing
  38.                      ; give it a high task priority (don't mix up this with the
  39.                      ; priority of the input handler) to ensure
  40.                      ; that it will work under heavy CPU load, too
  41.   run <>nil: DetotterMouseButton delay 50 button 0
  42.   run <>nil: DetotterMouseButton delay 50 button 1 pri 50 ; priority necessary for DOpus4
  43.   ChangeTaskPri 0
  44.  
  45. --- deutsch -------------------------------------------------------------------
  46.  
  47.  Kennen Sie das: Sie drücken einmal die linke Maustaste und der Rechner reagiert
  48. wie auf einen Doppelklick. Programme werden gestartet, Verzeichnisfenster werden
  49. geöffnet, Sie verpassen den richtigen Bildschirm, weil beim Durchklicken durch
  50. die ungewollten Doppelklicks ständig einer übersprungen wird. Sie möchten ein
  51. Piktogramm auf der Workbench verschieben und es fällt Ihnen an irgendeiner
  52. unpassenden Stelle herunter. Keine Frage, Ihre Maus is alt und tattrig geworden,
  53. die Maustasten sind nicht mehr besonders zuverlässig. Zeit für eine neue Maus?
  54. Alle zwei Jahre eine neue Maus? So teuer sind sie zwar auch nicht, aber
  55. Kleinvieh macht bekanntlich ebenso Mist und letztlich können Sie die Maus jetzt
  56. vielliecht doch noch retten.
  57.  
  58.  Wie das? Benutzen Sie DetotterMouseButton. Das Programm verzögert das Loslassen
  59. der Maustaste solange bis es davon ausgehen kann, daß Sie die Taste wirklich
  60. physikalisch losgelassen haben.
  61.  
  62.  Parameter:
  63.   BUTTON   : Maustaste, die überwacht werden soll; normalerweise ist es die
  64.              linke welche zuerst den Geist aufgibt, dann reicht es diese
  65.              zu bearbeiten
  66.              0 - linke Maustaste
  67.              1 - rechte Maustaste
  68.              2 - mittlere Maustaste
  69.              voreingestellt ist die linke Maustaste
  70.   DELAY    : Verzögerung in Millisekunden
  71.              voreingestellt sind 20 ms, was der Bildwiederholungsrate eines PAL-
  72.              Bildschirms entspricht
  73.   PRIORITY : Priorität des InputHandler (von -128 bis 127)
  74.              je höher die Zahl um so mehr andere Maus-Patches werden mit dem
  75.              entprellten Signal versorgt
  76.              voreingestellt ist 100, was ziemlich hoch ist
  77.  
  78.  Wollen Sie das Programm regelmäßig benutzen, fügen Sie in die startup-sequence
  79. oder user-startup folgendes ein:
  80.   ChangeTaskPri 50   ; das Hauptprogramm übernimmt sämtliche Zeitmessungen
  81.                      ; man sollte ihm eine hohe Task-Priorität (nicht
  82.                      ; zu verwechseln mit der InputHandler-Priorität) zuweisen
  83.                      ; damit der ganze Spaß auch bei hoher CPU-Last läuft
  84.   run <>nil: DetotterMouseButton delay 50 button 0
  85.   run <>nil: DetotterMouseButton delay 50 button 1 pri 50
  86.                      ; Priorität 50 damit Menüs in DOpus4 weiterhin funktionieren
  87.   ChangeTaskPri 0
  88.  
  89.  
  90.